#include <iostream>

#include "include/MemoryPool.h"

int main() {
    {
        MemoryPool memoryPool;

        MemoryChunk *chunk = memoryPool.alloc(78);

        chunk->alloc(1);
        chunk->alloc(10);

        chunk->printAvailableTable();
        chunk->printUsedTable();

    //    memoryPool.alloc(18);
    //    memoryPool.alloc(33);



        memoryPool.CheckMemoryLeak();

//        delete &memoryPool;
    }

    std::cout << "Hello, World!" << std::endl;
    return 0;
}